package com.tehui.global;

/**
 * Created by jasmine on 2017/3/6.
 */

public class Global {

    public static final String URL_PREFIX = "http://api.dataoke.com/index" + "" + "" +
            ".php?r=Port/index&type=total&appkey=5tgtloae17&v=2";

    //默认,综合
//    public static final String URL_DEFAULT = "http://dl.21tehui.com/AppGoodsDataApi.html?";
    public static final String URL_DEFAULT = "http://dl.21tehui.com/GetDTK.html?";

    //人气
    public static final String URL_QUAN = "http://dl.21tehui.com/AppGoodsDataApi" + "" +
            ".html?&type=Quan_receive&sort=";

    //价格
    public static final String URL_PRICE = "http://dl.21tehui.com/AppGoodsDataApi" + "" + "" +
            ".html?&type=Price&sort=";

    //销量
    public static final String URL_SALES_NUM = "http://dl.21tehui.com/AppGoodsDataApi" + "" + "" +
            ".html?&type=Sales_num&sort=";

    //分类
    public static final String URL_TYPE = "http://dl.21tehui.com/GetDTK.html?keyWord=&pageSize=20&class=";

    //搜索
    public static final String URL_SEARCH = "http://dl.21tehui.com/AppGoodsDataApi.html?keyWord=";

    //9.9
//    public static final String URL_NINE = "http://dl.21tehui.com/AppGoodsDataApi.html?low=1";
    public static final String URL_NINE = "http://dl.21tehui.com/GetDTK.html?pageSize=10&low=1";
    //更多相似

    public static final String URL_SIMILAR = "http://dl.21tehui.com/GetDTK.html?pageSize=4&rand=1&class=1" +
            "";
//    public static final String URL_SIMILAR = "http://dl.21tehui.com/AppGoodsDataApi.html?rand=1";

    //收藏
    public static final String URL_FAVORITE = "http://dl.21tehui.com/Favorite.html";

    //取消收藏
    public static final String URL_DELETE_FAVORITE = "http://dl.21tehui.com/Favorite/deleteFavorite.html";

    public static final String URL_ISFAVORITE = "http://dl.21tehui.com/Favorite/isFavorite.html";

    public static final String URL_GETFAVORITE = "http://dl.21tehui.com/Favorite/getFavorite.html";

    //    public static final String URL_DETAILS = "http://dl.21tehui.com/GetDTK/singleGoods.html?gId=";
    public static final String URL_DETAILS = "http://api.dataoke.com/index" +
            ".php?r=port/index&appkey=fa5wf81h42&v=2&id=";

    //人气榜
    public static final String URL_MOODS = "http://dl.21tehui.com/GetDTK/topGoods.html?pageSize=";

    // 超时的时限
    public static final int TIME_LIMIT = 40000;

}
